package org.spring.springboot.app.community.info.service;

import org.spring.springboot.app.community.info.domain.vo.CommunityInfoInsertAndUpadteVO;
import org.spring.springboot.app.community.info.domain.vo.CommunityInfoSelectVO;

import java.util.List;

/**
 * 逻辑接口类
 * <p>
 * Created by bysocket on 07/02/2017.
 */
public interface ICommunityInfoService {

    List<CommunityInfoSelectVO>  findByParent(String parentId);

    CommunityInfoSelectVO find(String id);

    List<CommunityInfoSelectVO>  findByOfficeId(String officeId);

    List<CommunityInfoSelectVO> findPage(int pageNum, int pageSize);

    int save(CommunityInfoInsertAndUpadteVO po);

    int update(CommunityInfoInsertAndUpadteVO vo);

    int delete(String id);

    int deletes(String ids);
}
